package com.gitee.taotaojs.myboot.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gitee.taotaojs.mybootsuper.bean.BaseBean;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.Table;

/**
 * @author TaoTaojs
 * @date 2019/3/13 23:26
 * <p>Description</p>
 * 测试类的Controller
 *
 * 关联类:
 * 参考链接：
 */
@Table(name = "tb_demo")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Builder
@EqualsAndHashCode(callSuper = false)
public class DemoBean extends BaseBean<Integer> {

    /** name */
    private String name;
    /** 创建时间 */
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private String createDate;
    /** 状态代码 */
    private Integer status;

}
